<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #div,.cls{
            border: 1px solid black;
        }
    </style>
</head>
<script src="/jquery-3.3.1.min.js"></script>
<!-- <script>
    onload=function(){  let jsdiv=document.getElementById("div");
    alert(jsdiv);
    alert(jsdiv.innerHTML);}
  $(function(){
       let jqdiv=$("#div");
         alert(jqdiv);
         alert(jqdiv.html());})N
        
</script> -->

<body>
    <!-- <div id="div"><b>今天是div的日子</b></div> -->
    <!-- <button  id="btn">点我</button>
    <input type="text" id="input" value="123"> -->

  <div id="div">div01</div>
  <div id="div">div02</div>
   <div id="div01" class="cls">div03</div> 
   <div id="div02" class="cls">div04</div>
</body>
        <!-- <script>
          let jsin=  $("#input");
            $("#btn").click(function(){
               
                alert(jsin[0].value);
            });

        </script> -->

        <!-- <script>
          let shuzu=  $("div");
          for(ele of  shuzu){
              alert(ele.innerHTML);
          }
        </script> -->
        <script>
            let divfir=$("div:even");
            $("")
            // alert(divfir.html());
            for(ele of divfir){
                alert(ele.innerHTML)
            }
        </script>
</html>